home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20030409-20031118
/
000239_sonicechoesWit…pam@hotmail.com_Wed Aug 27 14:57:47 EDT 2003.msg
< prev
next >
Wrap
Text File
|
2020-01-01
|
2KB
|
73 lines
Article: 14479 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!not-for-mail
From: dgk <sonicechoes@hot-nospamp-mail.com>
Newsgroups: comp.protocols.kermit.misc
Subject: How to recover from a hangup?
Date: Wed, 27 Aug 2003 13:24:49 -0400
Organization: PANIX Public Access Internet and UNIX, NYC
Lines: 52
Message-ID: <uoppkvgocr6vgbptg62fm7osanrjhontk3@4ax.com>
Reply-To: sonicechoesWithNoSpam@hotmail.com
NNTP-Posting-Host: dsl027-158-082.nyc1.dsl.speakeasy.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: reader2.panix.com 1062005097 16321 216.27.158.82 (27 Aug 2003 17:24:57 GMT)
X-Complaints-To: abuse@panix.com
NNTP-Posting-Date: Wed, 27 Aug 2003 17:24:57 +0000 (UTC)
X-Newsreader: Forte Agent 1.92/32.572
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14479
I have an app that uses some of the K95 provided scripts and answers
calls and has a simple dialog. I have a problem that results in the
Kermit dos box printing this line over and over:
?Connection on Conexant HCF V90 56K Data Fax PCI Modem is not open.
The script is kicked off by this section of code from Dhostmdm.KSC
; Break out of loop if there is a nonrecoverable error, otherwise
continue.
while 1 {
answer
if > \v(dialstatus) 0 if < \v(dialstatus) 22 stop 1 Fatal modem
error
if = \v(dialstatus) 0 take MM3.ksc
echo Type Ctrl-C to exit... ; Give user a chance to
cancel
sleep 2
}
MM3.KSC just asks for a username and password, and then a menu option
here:
ASG \%T 0
:GETCMD ; What does the user want to do anyway?
OUTPUT \13\10Command:
CLEAR INPUT
INPUT 10 \13
DEF \%C
DEF \%Z \V(INPUT)
DO STRIP {\%Z}
IF = \FLENGTH(\%Z) 0 GOTO GETCMD
ASG \%C \%N
IF EQUAL {\%C} SND GOTO RECEIVE
IF EQUAL {\%C} {RCV R} GOTO SEND
IF EQUAL {\%C} BYE GOTO IFAIL
IF EQUAL {\%C} {RCV M} GOTO SENDM
OUTPUT \13\10REQUEST ERROR|\%C|
INC \%T 1
IF = \%T 4 GOTO IFAIL
GOTO GETCMD
I'll be the first person to admit that I don't know much of the Kermit
language but the code works some of the time that a user hangs up.
Othertimes I get that line repeating and have to restart Kermit.
Is there some error checking I should be doing here to prevent the
hangup from messing the modem up?